package com.caosy.grassthinkremote.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
@TableName("deliver_log")
public class DeliverLog {
    /**
     * 主键
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 投递记录的id
     */
    @TableField("deliver_id")
    private Long deliverId;

    /**
     * 原来状态
     */
    @TableField("original_status")
    private Integer originalStatus;

    /**
     * 现在的状态
     */
    @TableField("current_status")
    private Integer currentStatus;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
}
